/*
* ============================================================================
*  Name     : CMyS60AlarmForm
*  Part of  : Unit Converter
*
*  Description:
*     An AVKON form class containing popup fields and floating point editors.
*     Implements the 'Main State' of the application.
*  Version:
*
*  Copyright (C) 2002 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation. All rights are reserved. Copying, 
*  including reproducing, storing,  adapting or translating, any 
*  or all of this material requires the prior written consent of 
*  Nokia Corporation. This material also contains confidential 
*  information which may not be disclosed to others without the 
*  prior written consent of Nokia Corporation.
*
* ============================================================================
*/

#ifndef __CCNVMAINFORM_H__
#define __CCNVMAINFORM_H__

// INCLUDES
#include <aknform.h>
#include <eikdialg.h>
#include <aknlists.h>
// CLASS DEFINITION

class CMyS60AlarmForm : public CAknForm
	{
	public: // constructors and destructor

		CMyS60AlarmForm(CAknDoubleTimeStyleListBox* aAlarmList);
		~CMyS60AlarmForm();
		void ConstructL();
		void ProcessCommandL( TInt aCommandId );
		void PreLayoutDynInitL();
		
	protected:

		TBool SavaFormDataL();
		void DoNotSaveFormDataL();
	
	protected:

		TBool OkToExitL(TInt aButtonId);
	
	private:
		CAknDoubleTimeStyleListBox* iAlarmList;
		CEikEdwin* messageEditor; //for alarm message
		

	};

#endif // __CCNVMAINFORM_H__

